﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    [Table("City")]
    public class Model_City:Model_Base
    {
        /// <summary>
        /// 城市实体编号
        /// </summary>
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 所属省份
        /// </summary>
        public string ProvinceID { get; set; }
        /// <summary>
        /// 城市编码
        /// </summary>
        public string CityCode { get; set; }
    }
}
